package conson.tech.manage.coupons.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import conson.tech.manage.coupons.entity.dto.BindingDetailDto;
import conson.tech.manage.coupons.entity.dto.CouponMessagePageDto;
import conson.tech.manage.coupons.entity.dto.FinanceDataPageDto;
import conson.tech.manage.coupons.entity.pojo.ActivityUser;
import conson.tech.manage.coupons.entity.vo.BindingDetailVo;
import conson.tech.manage.coupons.entity.vo.CouponMessagePageVo;
import conson.tech.manage.coupons.entity.vo.FinanceDataPageVo;
import org.apache.ibatis.annotations.Param;


/**
 * InterfaceName: ActivityUserMapper
 * Description:
 * Author: ZYF
 * Date: 2020/7/20
 * Version: 1.0
 */
public interface ActivityUserMapper extends BaseMapper<ActivityUser> {

    /**
     * 分页查看发放明细列表
     *
     * @param page
     * @param dto
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<conson.tech.manage.coupons.entity.vo.BindingDetailVo>
     */
    Page<BindingDetailVo> bindingDetailList(Page<BindingDetailVo> page, @Param("dto") BindingDetailDto dto);


    /**
     * 优惠券消息中心列表
     *
     * @param page
     * @param dto
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<conson.tech.manage.coupons.entity.vo.CouponMessagePageVo>
     */
    Page<CouponMessagePageVo> couponMessageList(Page<CouponMessagePageVo> page, @Param("dto") CouponMessagePageDto dto);


    /**
     * 财务结算报表列表
     *
     * @param page
     * @param dto
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<conson.tech.manage.coupons.entity.vo.FinanceDataPageVo>
     */
    Page<FinanceDataPageVo> financeDataList(Page<FinanceDataPageVo> page, @Param("dto") FinanceDataPageDto dto);

    /**
     * 优惠券消息中心列表
     *
     * @param page
     * @param dto
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<conson.tech.manage.coupons.entity.vo.CouponMessagePageVo>
     */
    Page<CouponMessagePageVo> couponMessageList1(Page<CouponMessagePageVo> page, @Param("dto") CouponMessagePageDto dto);
}
